<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="cutProcessDetail.title"/></title>
    <meta name="heading" content="<fmt:message key='cutProcessDetail.heading'/>"/>
    <meta name="menu" content="RoleAdminCut"/>

</head>

<table class="table" id="currentCut">
    <caption><fmt:message key="currentCut.currentCut"/></caption>
    <thead>
        <tr>
            <th class="hidden"/>
            <th><fmt:message key="cutProcess.id"/></th>
            <th><fmt:message key="cutProcess.initDate"/></th>
            <th><fmt:message key="cutProcess.endDate"/></th>
            <th><fmt:message key="employee.cutter"/></th>
            <th class="hidden"/>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td><s:property id="cutProcess.id" value="cutProcess.id"/></td>
            <td><s:property id="cutProcess.initDate" value="cutProcess.initDate"/></td>
            <td><s:property id="cutProcess.endDate" value="cutProcess.endDate"/></td>
            <td><s:property id="cutProcess.employee.fullName" value="cutProcess.employee.fullName"/></td>
        </tr>
    </tbody>
</table>

<c:set var="buttons">
    <input type="button" onclick="location.href='<c:url value="/editCutProcess.html"/>'"
           value="<fmt:message key="button.done"/>"/>
</c:set>

<c:out value="${buttons}" escapeXml="false" />

<display:table name="storageMaterialList"  class="table" id="storageMaterialList" export="false" requestURI="" pagesize="20">
    <display:column titleKey="storageMaterialList.edit" href="purchaseDetailReview.html" paramId="id" paramProperty="id">
        <fmt:message key="storageMaterialList.edit"/>
    </display:column>
    <display:column property="material.name" sortable="true" titleKey="storageMaterialList.material.name"/>
    <display:column property="stock" sortable="true" titleKey="storageMaterialList.stock"/>

</display:table>